#ifndef WINDOW_H
#define WINDOW_H

#include <QWidget>

QT_BEGIN_NAMESPACE
class QSlider;
class QLabel;
class QCheckBox;
QT_END_NAMESPACE
//! [0]
class GLWidget;

class Window : public QWidget
{
    Q_OBJECT

public:
    Window();

public slots:
	void setTessInnerLabel(int inner);
	void setTessOuterLabel(int outer);
	void setIterLabel(int iter);
	void setFuncScaleLabel(int par);
	void setEpsLabel(int par);
	void setStepsizeLabel(int par);


protected:
    void keyPressEvent(QKeyEvent *event);

private:
    QSlider *createSlider();
    QSlider *createIntSlider(int ,int);

    GLWidget *glWidget;
    QSlider *xSlider;
    QSlider *ySlider;
    QSlider *zSlider;

	QSlider *innerSlider;
	QLabel *innerLabel;
	QSlider *outerSlider;
	QLabel *outerLabel;
	QSlider *nIterSlider;
	QLabel *nIterLabel;
	QSlider *stepSizeSlider;
	QLabel *stepSizeLabel;
	QSlider *epsSlider;
	QLabel *epsLabel;
	QSlider *funcScaleSlider;
	QLabel *funcScaleLabel;
	QCheckBox *subWire;
	QCheckBox *InnOut;
};
//! [0]

#endif
